#{selenium 'Test security'}

// Try to log in the administration area
clearSession()
open('/admin')
assertTextPresent('Login')
type('Login', 'admin')
type('password', 'secret')
clickAndWait('signin')

// Verify that the user in correctly logged in
assertText('success', 'Welcom admin!')

#{/selenium}